import Vue from 'vue'
import VueRouter from 'vue-router'
// import HomeView from '../views/HomeView.vue'

Vue.use(VueRouter)

const routes = [
  {
    path: '/',
    name: 'login',
    component: ()=>import('../views/Login.vue')
  },
  {
    path: '/User',
    name: 'user',
    component: ()=>import('../views/User.vue')
  },
  // {
  //   path: '/',
  //   name: 'userTest',
  //   component: ()=>import('../views/UserTest.vue')
  // }
 ]
  
const router = new VueRouter({
  routes
})

 export default router
